// 统一导出所有 API 服务
export { default as request } from './request'
export * from './config'
export * from './services/projects'
export * from './services/dataIntegration'
export * from './services/auth'
export * from './services/data'

// 创建一个统一的 API 对象
import { projectsApi } from './services/projects'
import { dataIntegrationApi } from './services/dataIntegration'
import { authApi } from './services/auth'
import { dataService } from './services/data'

export const api = {
  projects: projectsApi,
  dataIntegration: dataIntegrationApi,
  auth: authApi,
  data: dataService,
}

export default api